package com.zrj.gateway.controller;

import com.zrj.gateway.entity.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 网关控制器
 *
 * @author zrj
 * @since 2022/10/6
 **/
@RestController
@RequestMapping("/gateway")
public class GatewayController {

    @GetMapping("/get")
    public Result<String> get() {
        return Result.success( "查询成功", "get gateway success..." );
    }
}